package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 收单详细对象 web_receive_list
 * 
 * @author ruoyi
 * @date 2021-05-25
 */
@ApiModel("收单详细对象")
public class WebReceiveList extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属回收员 */
    @Excel(name = "所属回收员")
    @ApiModelProperty(value = "所属回收员",hidden = true )
    private Long userId;

    /** 预约单ID */
    @Excel(name = "预约单ID")
    @ApiModelProperty(value = "预约单ID" )
    private Long receiveId;

    /** 类别id */
    @Excel(name = "类别id")
    @ApiModelProperty(value = "类别id" ,hidden = true)
    @NotNull(message = "类别id不能为空")
    private Long recycleTypeId;

    /** 回收类别 */
    @Excel(name = "一级类别名称")
    @ApiModelProperty(value = "一级类别名称" )
    private String recycleType;

    /** 回收类别 */
    @Excel(name = "二级类别名称")
    @ApiModelProperty(value = "二级类别名称" )
    private String recycleType2;

    /** 实际重量 */
    @Excel(name = "实际重量")
    @ApiModelProperty(value = "实际重量" )
    @NotNull(message = "实际重量不能为空")
    @Min(value = 0,message = "实际重量小于0")
    @Max(value = 99999999,message = "实际重量不能超过99999999")
    private Double weight;

    /** 实际金额 */
    @Excel(name = "实际金额")
    @ApiModelProperty(value = "实际金额" )
    @NotNull(message = "实际金额不能为空")
    @Min(value = 0,message = "金额不能小于0")
    @Max(value = 99999999,message = "金额最大不能超过99999999")
    private BigDecimal price;

    /** 描述 */
    @Excel(name = "描述")
    @ApiModelProperty(value = "描述")
    private String comment;

    /** 图片，最多3张 */
    @Excel(name = "图片，最多3张")
    @ApiModelProperty(value = "图片，最多3张",hidden = true)
    private String images;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public Long getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(Long receiveId) {
        this.receiveId = receiveId;
    }

    public void setRecycleTypeId(Long recycleTypeId)
    {
        this.recycleTypeId = recycleTypeId;
    }

    public Long getRecycleTypeId() 
    {
        return recycleTypeId;
    }
    public void setRecycleType(String recycleType) 
    {
        this.recycleType = recycleType;
    }

    public String getRecycleType() 
    {
        return recycleType;
    }
    public void setWeight(Double weight)
    {
        this.weight = weight;
    }

    public Double getWeight()
    {
        return weight;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public String getRecycleType2() {
        return recycleType2;
    }

    public void setRecycleType2(String recycleType2) {
        this.recycleType2 = recycleType2;
    }
}
